import * as echarts from 'echarts'
import customed from '../assets/chart/customed.json'
// import production from '../assets/chart/production.json'

echarts.registerTheme('customed', customed)
// echarts.registerTheme('production', production)

const echartsConfig = {
    theme: "customed"
}

export default {
    install(Vue) {
        Vue.prototype.$echarts = echarts
        Vue.prototype.$echartsConfig = echartsConfig
    }
}
 